﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace BLL
{
	public class GenreManager
	{
		static string[] genres = new string[]{"","Hard Rock","Heavy Metal","Blues Rock","new wave of british heavy metal","rock","Neo-Classical Metal","Power Metal","Rock'n'Roll"};
		public static string getGenre(int genre)
		{
			return genres[genre];
		}



		public static string getGenres( int[] genre )
		{
			string genres = "";
			Boolean b = true;
			foreach ( int i in genre )
			{
				genres += (b?"":", ")+getGenre( i );
				if ( b )
					b = !b;
			}
			return genres;
		}
	}
}
